package com.zy.imagineCommunity.entity;

public class FriendsText {

    Integer id;

    Integer userId;

    Integer parentId;

    Integer messageNum;

    String userName;

    String headImg;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getMessageNum() {
        return messageNum;
    }

    public void setMessageNum(Integer messageNum) {
        this.messageNum = messageNum;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public FriendsText(Integer id, Integer userId, Integer parentId, Integer messageNum, String userName, String headImg) {
        this.id = id;
        this.userId = userId;
        this.parentId = parentId;
        this.messageNum = messageNum;
        this.userName = userName;
        this.headImg = headImg;
    }

    public FriendsText() {

    }

    @Override
    public String toString() {
        return "FriendsText{" +
                "id=" + id +
                ", userId=" + userId +
                ", parentId=" + parentId +
                ", messageNum=" + messageNum +
                ", userName='" + userName + '\'' +
                ", headImg='" + headImg + '\'' +
                '}';
    }

}
